﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VCC.Site.ViewModels.TabJobGetCategoryModel>" %>
<div class="product-list tin-danh-cho-ban">
   <div class="box_job"> 
    <ul class="job_list">
        <%foreach (var item in Model.Categories)
          {
              int TotalAd = item.Ads.Where(e => e.CatID == item.ID && e.PublishYN == true && e.Status!= 0).Count();
              %>
            <li><h3><a href="<%=item.ShortName%>" title=""><%=Html.Encode(item.Name)%> <%=Html.Encode( TotalAd > 0 ? " ("+ TotalAd+")" : "")%></a></h3></li>
        <%} %>
    </ul>
  </div>
  <div class="otherlink"></div>
</div>
